﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  </configSections>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>

  <connectionStrings>
    <add name="GAMongoDBConnectionString" connectionString="mongodb://localhost:27017" />
    <add name="DSOMongoDBConnectionString" connectionString="mongodb://localhost:27018" />
    <add name="ClientPlatform" connectionString="mongodb://localhost:27017/ClientPlatform" />
    <add name="CRM" connectionString="Url=https://sustainalytics0.crm4.dynamics.com;Username=client.platform@sustainalytics.com;Password=M46iaHerm3s21!" />
    <add name="RPHistoricalDataSet" connectionString="mongodb://localhost:27017/RPHistoricalDataSet" />
    <add name="GovernanceInputFile" connectionString="mongodb://localhost:27017/GovernanceInputFile" />
    <add name="ClientDWMaster" connectionString="mongodb://localhost:27017/ClientDWMaster" />
    <add name="ValidationRules" connectionString="mongodb://localhost:27017/Validation" />
    <add name="RPConnectionString" connectionString="Data Source=sust-test-app-srv.cloudapp.net,51433;User ID=sql_server_admin;Password=G4nd4lf2014;Initial Catalog=DSRSystem;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <add name="RPConnectionString_Temp" connectionString="Data Source=sust-test-app-srv.cloudapp.net,51433;User ID=sql_server_admin;Password=G4nd4lf2014;Initial Catalog=DSRSystem_Temp;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <add name="EventsConnectionString" connectionString="Data Source=news-test.westeurope.cloudapp.azure.com;User ID=sql_server_admin;Password=G4nd4lf2014;Initial Catalog=Test_Events_Temp;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <add name="GCCSConnectionString" connectionString="Data Source=news-test.westeurope.cloudapp.azure.com;User ID=sql_server_admin;Password=G4nd4lf2014;Initial Catalog=Test_GCCS;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <!--<add name="GovernanceConnectionString" connectionString="Data Source=gov-sqlsrv-01.cloudapp.net,51433;User ID=sql_server_admin;Password=H0bb1t2014;Initial Catalog=DSRSystem_Temp;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />-->
    <add name="GovernanceConnectionString" connectionString="Data Source=gov-sqlsrv-test.cloudapp.net,51433;User ID=sql_server_admin;Password=G4nd4lf2014;Initial Catalog=DSRSystem_Temp;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <add name="FocusedRatingsConnectionString" connectionString="Data Source=esg-risk-radar.cloudapp.net,51433;User ID=sql_server_admin;Password=H0bb1t2014;Initial Catalog=DSRSystem_Temp;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <add name="CarbonDataConnectionString" connectionString="Data Source=news-test.westeurope.cloudapp.azure.com;User ID=sql_carbon;Password=G4nd4lf_2017!;Initial Catalog=CARBON;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <add name="PIConnectionString" connectionString="Data Source=news-test.westeurope.cloudapp.azure.com;User ID=sql_pi;Password=S@ur0n_2017!;Initial Catalog=PI;Pooling=True;Min Pool Size=10;Connect Timeout=10" providerName="System.Data.SqlClient" />
    <add name="ActiveMQ" connectionString="activemq:tcp://activemq.test.sustainalytics.com:61616" />
    <add name="ActiveMQQueue" connectionString="queue://ConnectionStringsQueueDev" />
    <add name="ActiveMQTopic" connectionString="Synchronization.Topic.Dev" />
    <add name="TopicCustomerId" connectionString="SynchronizationService" />
  </connectionStrings>

  <appSettings>
    <add key="SyncRefUnivFilePath" value="Resources\syncrefuniv.csv" />
    <add key="SkipClonning" value="true" />
    <add key="UseMongoGridFS" value="false" />
    <add key="SqlDataSourcesFreshnessCheckAttempts" value="37" />
    <!--minutes-->
    <add key="SqlDataSourcesFreshnessCheckInterval" value="10" />
    <add key="ComparativeGroup" value="0" />
    <add key="CompanyType" value="0" />
    <add key="TemplateTypeEnum" value="0" />
    <add key="MaxDegreeOfParallelism" value="4" />
    <add key="ErrorPolicy" value="BreakRightAway" />
    <add key="IsSyncAutomatic" value="False" />

    <add key="IsInitialSync" value="True" />
    <add key="IsControversiesInitialSync" value="True" />
    <add key="GeneratePartialControveryReports" value="True" />
    <add key="pdfservurl" value="http://localhost:10280/pdfgenerationserv/" />
    <!--<for debug only />-->
    <!--<add key="CorporateDataChangedSince" value="6/15/2015" />-->
    <!--<add key="ResearchProductsChangedSince" value="6/16/2015" />-->
    <!--<add key="ControversiesChangedSince" value="6/25/2015" />-->

    <add key="InsertManyBatchSize" value="500" />
    <add key="InitialRecurringDate" value="03/25/2015 04:00:00" />
    <add key="RegularRepeatInterval" value="00:01:00" />
    <add key="executehistorical" value="false" />
    <!--minutes-->
    <add key="CommandTimeout" value="60" />
    <!--searched by the claims checker-->
    <add key="RedisServer" value="52.209.225.41" />
    <add key="ComputationServiceAddress" value="http://localhost:10280/esgcomputingserv/api/v1" />
    <add key="GovernanceServiceAddress" value="http://localhost:10280/governanceserv/api/v1/reportsgeneration" />
    <add key="DistributionDataSet" value="8" />
    <add key="DistributionDataSetBackup" value="10" />
    <add key="ComputationDataSet" value="9" />
    <add key="ComputationDataSetBackup" value="11" />
    <add key="RedisChannel" value="ClusterChannel" />
    <add key="DefaultCloudCluster" value="fake" />
    <add key="templateImage" value="ami-34c58d43" />
    <add key="mainCudaInstanceId" value="i-0bad8f49" />
    <add key="cudaPortRunning" value="10280" />
    <add key="awMachineCountAvailable" value="3" />
    <add key="machineDemand" value="3" />
    <add key="cudaMachineMemoryAvailable" value="12582912" />
    <add key="awsSubnetId" value="subnet-2f0a1269" />
    <add key="awsSecGroupId" value="sg-d92b91bc" />
    <add key="maxMiliSecondsPollling" value="600000" />
    <add key="awsSecretKey" value="7aB5pz0c1ahfIOCdUfEOah08bvU04syMxi05cfmq" />
    <add key="accesKeyId" value="AKIAJKGZZMOFAVOVLHJA" />
    <add key="awspublicip" value="true" />
    <add key="awsMachineTag" value="Test Platform" />
    <add key="s3bucket" value="dev-globalaccess-europe" />
    <add key="PDFAWSSecretKey" value="7aB5pz0c1ahfIOCdUfEOah08bvU04syMxi05cfmq" />
    <add key="PDFAccesKeyId" value="AKIAJKGZZMOFAVOVLHJA" />
    <add key="PDF_MachineId" value="i-005bb5058f07df3ac" />

    <add key="RedisConnectionString" value="52.209.225.41" />
    <add key="RedisDatabaseId" value="3" />
    <add key="DeploymentLocation" value="Development" />
    <add key="HostUrl" value="http://localhost:10280/clientsync" />
    <add key="clientPlatformUrl" value="http://localhost:10280" />
    <add key="SMTPServer" value="smtp.office365.com" />
    <add key="SMTPServerPort" value="587" />
    <add key="SMTPUserName" value="platform@sustainalytics.com" />
    <add key="SMTPPassword" value="Password99#" />
    <add key="SupportEmail" value="platformsupport@sustainalytics.com" />
    <!-- the value is considered to be expressed in KB -->
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <add key="DatabaseType" value="single" />
    <add key="ReplicaSetName" value="clientStage" />
    <add key="foxit.licensekey" value="FMG10NPDMO8EMN5IhJpfkYlw9S8ie3aDSUZcAYigb0T+caKwz3IgE7jOPTHWQsjGjeKeDpbVECTL2OSG89w9C19/hqkAWIIlJvlA" />
    <add key="SkipCompanies" value="" />
    <add key="HBaseUrl" value="canvastaging.westeurope.cloudapp.azure.com" />
    <add key="HBaseUsername" value="admin" />
    <add key="HBasePassword" value="Cddbase2015!" />
    <add key="HBaseThriftServer" value="canvastaging.westeurope.cloudapp.azure.com" />
    <add key="HBaseThriftPort" value="9090" />
    <add key="HBaseTablePrefix" value="stage_" />
    <add key="HBasePrefix" value="stage_" />
    <add key="HiveConnectionString" value="DRIVER={Hortonworks Hive ODBC Driver};Host=cddbloadbalancer.westeurope.cloudapp.azure.com;Port=10000;Schema=cddb;HiveServerType=2" />
    <add key="IdentifierTypesIDs" value="8334, 8335, 8336, 8352, 8381, 8406, 8407, 8637, 8638, 8667, 8668, 8333, LEI" />
    <!--8334 = ISIN, 8335 = SEDOL, 8336 = VALOR, 8352 = Austrian Number, 8381 = Ticker + Exchange, 8406 = Bloomberg Global ID (BBGID)+Exchange, 8407 = Bloomberg Global Composite ID + Exchange, 8637 = Bloomberg Unique ID, 8638 = Bloomberg Share Class BBGID, 8667 = Bloomberg Ticker + Exchange, 8668 = Bloomberg Security ID + Exchange, ID_02 = CUSIP, LEI = Legal Entity Identifier-->
    <add key="IdentifiersBatchSize" value="100000" />

    <add key="PhoenixUser" value="admin" />
    <add key="PhoenixPassword" value="Cddbase2015!" />
    <add key="PhoenixServerUrl" value="canvastaging.westeurope.cloudapp.azure.com" />
    <add key="PhoenixVnetMode" value="true" />
    <!--Select false if do not want Corporate Search Collection to be recreated-->
    <add key="DeleteCorporateSearchCollection" value="true" />
    <!--Duration (seconds) -->
    <add key="HBaseWaitRetryDuration" value="10" />
    <add key="HBaseRetryNumberOfTimes" value="2" />
    <add key="SyncDsoDatabase" value="true" />

    <add key="performProfileRestore" value="true" />

    <add key="ActiveMQUser" value="user" />
    <add key="ActiveMQPassword" value="user" />
    <add key="TearSheetAccountName" value="Scotia iTrade" />
    <add key="ImportIssues" value="CG.6" />

    <add key ="CartePath" value="http://54.76.182.88:8081/kettle/executeJob/?job=D:/PDI/jobs/portfolio_analytics/fullPaDBSync.kjb" />
    <add key="CarteMessage" value="" />
    <add key="CarteParameter" value="" />
  </appSettings>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0" />
      </parameters>
    </defaultConnectionFactory>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <system.net>
    <connectionManagement>
      <add address="https://cddb.azurehdinsight.net" maxconnection="128" />
      <add address="*" maxconnection="2" />
    </connectionManagement>
  </system.net>
  <system.serviceModel>
    <extensions>
      <!-- In this extension section we are introducing all known service bus extensions. User can remove the ones they don't need. -->
      <behaviorExtensions>
        <add name="connectionStatusBehavior" type="Microsoft.ServiceBus.Configuration.ConnectionStatusElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="transportClientEndpointBehavior" type="Microsoft.ServiceBus.Configuration.TransportClientEndpointBehaviorElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="serviceRegistrySettings" type="Microsoft.ServiceBus.Configuration.ServiceRegistrySettingsElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </behaviorExtensions>
      <bindingElementExtensions>
        <add name="netMessagingTransport" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingTransportExtensionElement, Microsoft.ServiceBus,  Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="tcpRelayTransport" type="Microsoft.ServiceBus.Configuration.TcpRelayTransportElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="httpRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpRelayTransportElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="httpsRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpsRelayTransportElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="onewayRelayTransport" type="Microsoft.ServiceBus.Configuration.RelayedOnewayTransportElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </bindingElementExtensions>
      <bindingExtensions>
        <add name="basicHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.BasicHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="webHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WebHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="ws2007HttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WS2007HttpRelayBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="netTcpRelayBinding" type="Microsoft.ServiceBus.Configuration.NetTcpRelayBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="netOnewayRelayBinding" type="Microsoft.ServiceBus.Configuration.NetOnewayRelayBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="netEventRelayBinding" type="Microsoft.ServiceBus.Configuration.NetEventRelayBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add name="netMessagingBinding" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement, Microsoft.ServiceBus, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </bindingExtensions>
    </extensions>
  </system.serviceModel>
</configuration>
